Graphics

This chapter will cover inserting graphics into your HTML document to be viewed on your web page.First we need to cover some graphic rules:

1.In order for your graphics to be used they need to be uploaded with the HTML documents to the server.

2. Graphics documents are saved in GIF format. Your graphics may have to be converted into this format. When saved in GIF format the title of your document will be followed immediately by .GIF.

3. There are many sources where you can find GIFs plus you can make your own with graphics programs. I will give you some ideas in the tips section.

4. Not everyone has a high speed modem or a flat rate or free internet account. When you place large graphics in your document it takes that much longer to load for your reader. This can mean long waiting times and increased costs. Try and keep this in mind.

                +++++++++++++++++++++++++

HTML code for graphics

The tag used for inserting a graphic into your HTML document is:

<IMG SRC="title.GIF">

Title will be the name you have given to your GIF file.

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Alignment options

You might want to align any text with the graphic. There are three options:

ALIGN=top

ALIGN=middle

ALIGN=bottom

These additions to the tag will align the text to the top, middle and bottom of the graphic, respectively.

To use these you would write the following HTML code:

<IMG SRC="title.GIF" ALIGN=top>

                        ++++++++++++++++++++++++++++++

Summary

Graphics to be included in a web page usually are in GIF format. Any text that is near the graphic can be aligned to it.

Drill 8 will cover these tags.